package com.yuju.order.dao.entity;

import com.yuju.persist.base.entity.BaseEntity;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
public class Reserve extends BaseEntity implements Serializable {
    /**
     *  主键。存储UUID，由应用生成。,所属表字段为ord_reserve.id
     */
    private String id;

    /**
     *  预订单号。,所属表字段为ord_reserve.reserve_no
     */
    private String reserveNo;

    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为ord_reserve.hotel_id
     */
    private String hotelId;

    /**
     *  预订人姓名。,所属表字段为ord_reserve.reserve_name
     */
    private String reserveName;

    /**
     *  手机号。,所属表字段为ord_reserve.mobile
     */
    private String mobile;

    /**
     *  证件类型。1身份证，2港澳通行证，3护照，4军官证，5其他证件。,所属表字段为ord_reserve.certificate_type
     */
    private Byte certificateType;

    /**
     *  证件编号。,所属表字段为ord_reserve.certificate_code
     */
    private String certificateCode;

    /**
     *  预抵时间。,所属表字段为ord_reserve.in_time
     */
    private Date inTime;

    /**
     *  预离时间。,所属表字段为ord_reserve.out_time
     */
    private Date outTime;

    /**
     *  入住天数。,所属表字段为ord_reserve.day_count
     */
    private Integer dayCount;

    /**
     *  保留时间。,所属表字段为ord_reserve.keep_time
     */
    private Date keepTime;

    /**
     *  客户类型。,所属表字段为ord_reserve.custom_type
     */
    private Byte customType;

    /**
     *  客户类型名称。,所属表字段为ord_reserve.custom_type_name
     */
    private String customTypeName;

    /**
     *  客户ID。根据客户类型，对应表中的主键。,所属表字段为ord_reserve.custom_id
     */
    private String customId;

    /**
     *  价格方案ID。外键，引用价格方案表（hot_scheme）的主键（id）。,所属表字段为ord_reserve.price_scheme_id
     */
    private String priceSchemeId;

    /**
     *  价格方案名称,所属表字段为ord_reserve.price_scheme_name
     */
    private String priceSchemeName;

    /**
     *  入住类型。,所属表字段为ord_reserve.checkin_type
     */
    private Byte checkinType;

    /**
     *  入住标准ID。外键，引用入住标准（hot_checkin_standard）的主键（id）。,所属表字段为ord_reserve.checkin_standard_id
     */
    private String checkinStandardId;

    /**
     *  入住标准名称,所属表字段为ord_reserve.checkin_standard_name
     */
    private String checkinStandardName;

    /**
     *  渠道。,所属表字段为ord_reserve.channel
     */
    private Byte channel;

    /**
     *  渠道名称。,所属表字段为ord_reserve.channel_name
     */
    private String channelName;

    /**
     *  预订状态。,所属表字段为ord_reserve.reserve_status
     */
    private Byte reserveStatus;

    /**
     *  预订状态名称。,所属表字段为ord_reserve.reserve_status_name
     */
    private String reserveStatusName;

    /**
     *  预订金。预订单所收的预订金总数。,所属表字段为ord_reserve.reserve_money
     */
    private BigDecimal reserveMoney;

    /**
     *  待支付金额。指的是线上预订单待支付金额。,所属表字段为ord_reserve.unpaid_money
     */
    private BigDecimal unpaidMoney;

    /**
     *  预订房间数。,所属表字段为ord_reserve.room_count
     */
    private Integer roomCount;

    /**
     *  销售员。外键，引用员工信息表（grp_employee）的主键（id）。,所属表字段为ord_reserve.sale_id
     */
    private String saleId;

    /**
     *  创建时间。,所属表字段为ord_reserve.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为ord_reserve.gmt_modified
     */
    private Date gmtModified;

    /**
     *  是否逻辑删除。1表示已逻辑删除，2表示未逻辑删除，默认为2。,所属表字段为ord_reserve.is_deleted
     */
    private Byte isDeleted;

    /**
     *  备注。,所属表字段为ord_reserve.remark
     */
    private String remark;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为ord_reserve.group_id
     */
    private String groupId;

    /**
     *  租期。,所属表字段为ord_reserve.rent_type
     */
    private Byte rentType;

    private static final long serialVersionUID = 1L;


    /*具体客源名称*/
    private String customName;
    
    private String hotelName  ;
    
    private String hotelCode  ;

}